<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="layui/css/layui.css">
<script src="layui/layui.js"></script>
</head>
<body>
<font size="36"  face="微软雅黑">&nbsp; &nbsp;请修改</font>
<form class="layui-form" action="UserInfoUpdateAction" method="post">
<div class="layui-form-item">
		<input type="hidden" name="uId" value="${user.uId}">
		<label class="layui-form-label">用户名:</label>
		<div class="layui-input-inline">
			<input type="text" name="uName" required lay-verify="required" placeholder="${user.uName}" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">密码:</label>
		<div class="layui-input-inline">
			<input type="password" name="uPassword" required lay-verify="required" placeholder="${user.uPassword}" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">出生日期:</label>
		<div class="layui-input-inline">
			<input type="text" name="uBirthday" required lay-verify="required" placeholder="${user.uBirthday}" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">电话号码:</label>
		<div class="layui-input-inline">
			<input type="text" name="uPhoneNumber" required lay-verify="required" placeholder="${user.uPhoneNumber}" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">QQ号码:</label>
		<div class="layui-input-inline">
			<input type="text" name="uQqNumber" required lay-verify="required" placeholder="${user.uQqNumber}" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">地址:</label>
		<div class="layui-input-block">
			<input type="text" name="uAddress" required lay-verify="required" placeholder="${user.uAddress}" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">邮箱号:</label>
		<div class="layui-input-block">
			<input type="text" name="uEMail" required lay-verify="required" placeholder="${user.uEMail}" autocomplete="off" class="layui-input">
		</div>
	</div>
	
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" layui-submit lay-filter="forDemo">立即提交修改</button>
			<button type="reset" class="layui-btn" layui-btn-primary>重置</button>
		</div>
	</div>
</form>
</form>
</body>
<script>
//Demo
layui.use('form', function(){
  var form = layui.form();
  
  //监听提交
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});
</script>
</html>